package com.chenjt.netty.seven_decorator;

/**
 * 注释：装饰角色
 *
 * @author chenjt
 * @date 2024/8/19 11:04
 */
public class Decorator implements Component{

    private Component component;

    public Decorator(Component component){
        this.component = component;
    }

    @Override
    public void doSomething() {
        component.doSomething();
    }

}
